home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
rbbs_pc
/
daypack.zip
/
DAYPACK.DOC
next >
Wrap
Text File
|
1992-02-10
|
10KB
|
195 lines
─╥──╖ ╥──╖ ╥
║ ║ ╓─┬ ╖ ╖ ╟──╜ ╓─┬ ╓── ╟/
─╨──╜ ╙─┴ ╙─╢ ╨ ╙─┴ ╙── ╨└
(c)1992 by Gary Glueckert
The SUNY BBS (516)420-0818
For Non-Commercial use only.
All rights reserved.
Purpose:
--------
DayPack was designed to help manage log files generated by such
programs as bulletin board systems, communications programs, and the like.
Originally, DayPack was written to handle the RBBS-PC "Callers" file but
can now be used to handle practically any type of log file, including
those generated by some door programs.
How it works:
-------------
DayPack takes advantage of PKwares (R) PKZIP to compress log files and
append a "daynumber" as the file extension. Therefore, a file compressed using
DayPack on January 12th will have a file extension of .012 (eg: LOGFILE.012).
Files may be processed on a daily, weekly, monthly, or filesize (in K) basis.
Additionally, if you are processing the CALLERS file from RBBS-PC you have the
option to first convert this file to a text file before compressing.
Running DayPack:
----------------
First and most importantly; PKZIP must be in your PATH or DayPack
must be placed in the same directory as PKZIP. Running DayPack with no
command-line parameters or switches will display a list of parameters which
are available to you.
Command-Line Switches:
----------------------
Usage: DAYPACK <filename> <Process> <Trigger> [Optional]
<Filename> - This is the file that DayPack will process for you.
Be sure to include the full Drive:\Path\Filename of the
file unless it is in the current directory with DayPack.
<Process> - Two options are available and you may supply both if
needed.
/Cx - This is for RBBS-PC SysOps. It will convert the CALLERS
file specified by <filename> and created by RBBS-PC to
a readable text file.
/Zx - This will compress the file specified by <filename> into
archive x (Drive:\Path\Filename). Do not include a file
extension, this will be added by DayPack as the number
of the day in the current year.
<Trigger> - Only one of these options may be specified on the
command-line. These paramters will determine WHEN DayPack
is to process the file.
/D - Process the file now! Used mostly for daily processing.
/Wn - Process the file weekly on day n, where n is specified
as numbers 1 through 7, corresponding to the day of the
week. 1=Sunday, 2=Monday,... ,7=Saturday and so forth.
/Mn - Process the file Monthly on day n, where n is equal to
the day of the month. Ranges from 01 through 31.
Note the use of a leading zero on single numbered days.
/Kn - Process the file if equal to or greater than this size
in Kilobytes. Eg: /K20 means 20,000 bytes.
[Optional] - This cammand line parameter is optional and may be
omitted.
/X - Do NOT kill any of the files after processing them.
Normally, DayPack will delete the old log files after
it has converted or compressed them. To prevent this from
happening use this command-line switch!
Using DayPack with RBBS-PC:
---------------------------
DayPack offers a great deal of flexibilty for use with the CALLERS
file created by RBBS-PC. You may convert the callers file into a readable
text file before compressing OR choose to convert and not compress it at all.
You may also choose to simply compress the CALLERS file in it's original
form without converting it. This is useful when you are using certain
utilities that require the callers file and need to keep a backup of the
file JUST IN CASE something goes wrong. Here is how I process my callers
file monthly so that I can get both an original compressed backup AND
a readable text file in one archive.
First I invoke DayPack like so:
DAYPACK C:\Rbbs\Callers /Zc:\rbbs\backup\callers /M01 /X
This invokes DayPack to compress the CALLERS file into the
archive c:\rbbs\backup\callers.xxx (xxx=Daynumber) without
converting it, on the first day of every month. NOTE that
DayPack will not delete the callers file at completion.
Then I invoke DayPack a second time like so:
DAYPACK C:\Rbbs\Callers /Cc:\rbbs\caller.txt /Zc:\rbbs\backup\callers /M01
This invokes DayPack to convert the callers file into a
readable text file called CALLER.TXT then compress it and add it
to the archive c:\rbbs\backup\callers.xxx (xxx=Daynumber), also
on the first day of every month. DayPack will then delete both
the CALLERS file AND the CALLER.TXT file it created.
Note that you can simply convert the CALLERS immediately by doin the
following:
DAYPACK C:\Rbbs\Callers /Ccaller.txt /D /X
Using DayPack on Log Files:
---------------------------
DayPack can also help you to manage any type of log or text file
which tends to grow in size. For example, DayPack can take care of log
files created by communications software simply by excluding the /C switch
from the command-line. This will also manage log files created by some
door programs such as GMon (John Morris' game monitor). This is especially
usefull if you like to keep those log files around for reference.
Registration:
-------------
Registration will elliminate the need for you to enter any key-press
during the operation of DayPack. This allows you to use it in your nightly
maintenance (RBBS) or during Boot-up to process files automatically.
The best thing about registration is that it is FREE for the asking!
To register DayPack for free simply logon to out support BBS and ask for a
registered copy. The SUNY BBS can be reached 24Hrs/day and 7 days/week at
516-420-0818. Please be sure to include a name for registration purposes.
You will have to logon once again to download your copy. If you find DayPack
to be a useful program please consider donating $5.00 to our BBS. Donations
are NOT required for registration.
Make checks payable to:
The SUNY BBS c/o The Auxiliary Services Corp.
And send them to:
Gary Glueckert
The State University of New York at Farmingdale
Dept. of Biological Sciences
Farmingdale, NY 11735
If you wish to have a registered version of DayPack mailed to you,
send $10.00 in U.S. funds to the above address requesting a registration.
Use the registration form included to help process your registration.
Limited License
---------------
You are free to use DayPack without registration if for
Non-commercial use. Commercial use REQUIRES a paid registration!
You may NOT engage in, nor permit another party to engage in, any of
the following:
- Making alterations of any kind to this software,
documentation, or file archive containing this software.
- Attempting to disassemble, decompile, or reverse engineer
all or part of this software; including the files it
generates.
- Grant a license or sub-license or any rights in the software
to others.
You may distribute DayPack and post it for download on Bulletin
Boards given these restrictions:
- The program shall be supplied in it's original and
unmodified form, which includes this documentation.
- No fee is charged.
- For profit use is prohibited without registration after
a reasonable period of evaluation.
- The program may not be included with other goods or
services.
The author of this software grants you a license to use this software
as long as the above conditions are met. Any violations of the above
conditions will result in the termination of your license to use this
software. Upon termination of this license, for any reason, you must
stop using this software and destroy all copies of it in your
posession. In addition the author reserves the right to cancel your
license at any time for any reason that he sees fit.
Disclaimer:
-----------
The author disclaims any warranties either expressed or implied,
including, but not limited to, the applied warranties of
mercantabilities or fitness for a particular purpose. All liability
for all possible damages which may be incurred from the use, or
mis-use, of this product is solely with the user.
Credits where credit is due:
----------------------------
** PKWARE and PKZIP are registered trademarks of PKWARE, Inc.
** GMon is Copyrighted 1992(c) by John Morris.
** DayPack is Copyrighted 1992(c) by Gary Glueckert.